package com.smart.manager.pop.entities.views;

import com.smart.common.entities.core.BaseView;
import io.ebean.annotation.View;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 *  分销等级视图
 *
 * @author Administrator
 * @TableName system_module
 */
@Data
@Entity
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@View(name = "pop_dis_level")
public class DisLevelView extends BaseView {

    @ApiModelProperty(value = "级别代码")
    @Id
    private Long id;

    @ApiModelProperty(value = "级别代码")
    private Long code;

    @ApiModelProperty(value = "级别名称")
    private String name;

    @ApiModelProperty(value = "前端别名")
    private String nickName;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "介绍图片")
    private String introduceImg;

//    @ApiModelProperty(value = "是否允许发展下一级")
//    private  Boolean allowInvite ;

}
